
var totalPrice = getQuery("totalPrice");
function submitOrder(){
    axios.get("/customer/order/addOrder",{
        params:{
            accept:$('accept').value,
            address:$('address').value,
            phone:$('phone').value,
            sumPrice:totalPrice
        }
    }).then(e => {
        if (e.data == 'ok'){
            location.href = "/index.html"
        }
    })
}